From: Jonas Dreßler Date: Sun, 6 May 2018 20:49:52 +0000 (+0200) Subject: switcherPopup: Disable hover on scrolling events X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~28 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ba7cfff90caa7e2ef2c7571d21161b71ce1b6716;p=gnome-shell.git switcherPopup: Disable hover on scrolling events Just like with keyboard events, disable hover on scrolling events. Mouse movements should not mess up the selection while scrolling. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167 --- diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index 2f88ce5fe..49b99dd18 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -228,6 +228,8 @@ var SwitcherPopup = GObject.registerClass({ } vfunc_scroll_event(scrollEvent) { + this._disableHover(); + this._scrollHandler(scrollEvent.scroll_direction); return Clutter.EVENT_PROPAGATE; }